<?php
	session_register('basket');

	$_SESSION['basket']['amount']	= 500;
	$_SESSION['basket']['orderid']	= rand(10000, 99999);

	$paymentBOX = array();	

	$paymentBOX['mydomain']			= 'webshop.acuityworld.com/';
	$paymentBOX['path']				= 'pay/';

	$paymentBOX['baseURL']			= 'https://betaling.wannafind.dk/';
	$paymentBOX['proxyURL']			= $paymentBOX['baseURL'].'proxy/p.php/';
	$paymentBOX['authURL']			= $paymentBOX['baseURL'].'auth.php';

	$paymentBOX['accepturl']		= $paymentBOX['proxyURL'].'http://'.$paymentBOX['mydomain'].$paymentBOX['path'] .'test-approved.php';
	$paymentBOX['declineurl']		= $paymentBOX['proxyURL'].'http://'.$paymentBOX['mydomain'].$paymentBOX['path'] .'test-declined.php';


	$paymentBOX['shopid'] 			= '2006041972071';
	$paymentBOX['currency'] 		= 208; // Danish Currency ( kroner )
	$paymentBOX['amount']			= $_SESSION['basket']['amount'];
	$paymentBOX['orderid']			= $_SESSION['basket']['orderid'];
	$paymentBOX['orderidprefix']	= 'TEST';
	$paymentBOX['paytype']			= 'creditcard';	// or edankort
	$paymentBOX['cardtype']			= 'DK';   //,V-DK,MC(DK)

	$key							= 'KeyJsnw2830022';		
	$md5sum 						= md5($paymentBOX['amount'].$paymentBOX['orderid'].$paymentBOX['currency'].$key);

	$paymentBOX['checkmd5']			= $md5sum;
?>